Component org.nuxeo.ecm.platform.mobile.application.definition.contribution
In bundle nuxeo-web-mobile-dm
Contributions
- org.nuxeo.ecm.platform.mobile.application.definition.contribution--applicationDefinition
- org.nuxeo.ecm.platform.mobile.application.definition.contribution--requestHandlers
XML Source
<component
name="org.nuxeo.ecm.platform.mobile.application.definition.contribution">
<extension target="org.nuxeo.ecm.application.definition.service"
point="applicationDefinition">
<application name="Mobile" order="5" disable="false">
<applicationRelativePath>site/mobile</applicationRelativePath>
<loginPage>/auth/login</loginPage>
<logoutPage>/auth/logout</logoutPage>
<requestHandlerName>MobileWithCookieRequestHandler</requestHandlerName>
<resources>
<resourcesBaseURL>site/skin/nuxeo</resourcesBaseURL>
</resources>
</application>
</extension>
<extension target="org.nuxeo.ecm.application.definition.service"
point="requestHandlers">
<requestHandler name="MobileWithCookieRequestHandler"
disable="false">
<implementation>org.nuxeo.ecm.mobile.handler.MobileWithCookieRequestHandler</implementation>
<properties>
<property name="urlSkippedPatterns">(.*)/img/(.*)|(.*)/icons/(.*)|(.*)/nxfile/(.*)|(.*)/nxbigfile/(.*)|(.*)/restAPI/preview/(.*)</property>
</properties>
</requestHandler>
</extension>
</component>